load("@build_bazel_rules_swift//swift:swift.bzl", "swift_library")

swift_library(
    name = "GalleryUI",
    module_name = "GalleryUI",
    srcs = glob([
		"Sources/**/*.swift",
    ]),
    copts = [
        "-warnings-as-errors",
    ],
    deps = [
        "//submodules/SSignalKit/SwiftSignalKit:SwiftSignalKit",
        "//submodules/AsyncDisplayKit:AsyncDisplayKit",
        "//submodules/Display:Display",
        "//submodules/Postbox:Postbox",
        "//submodules/TelegramCore:TelegramCore",
        "//submodules/TelegramPresentationData:TelegramPresentationData",
        "//submodules/TextFormat:TextFormat",
        "//submodules/AccountContext:AccountContext",
        "//submodules/TelegramUniversalVideoContent:TelegramUniversalVideoContent",
        "//submodules/WebsiteType:WebsiteType",
        "//submodules/ScreenCaptureDetection:ScreenCaptureDetection",
        "//submodules/OpenInExternalAppUI:OpenInExternalAppUI",
        "//submodules/ShareController:ShareController",
        "//submodules/SwipeToDismissGesture:SwipeToDismissGesture",
        "//submodules/CheckNode:CheckNode",
        "//submodules/AppBundle:AppBundle",
        "//submodules/StickerPackPreviewUI:StickerPackPreviewUI",
        "//submodules/OverlayStatusController:OverlayStatusController",
        "//submodules/PresentationDataUtils:PresentationDataUtils",
        "//submodules/UrlEscaping:UrlEscaping",
        "//submodules/ManagedAnimationNode:ManagedAnimationNode",
        "//submodules/ContextUI:ContextUI",
        "//submodules/SaveToCameraRoll:SaveToCameraRoll",
        "//submodules/TelegramUIPreferences:TelegramUIPreferences",
        "//submodules/ImageContentAnalysis:ImageContentAnalysis",
        "//submodules/TextSelectionNode:TextSelectionNode",
        "//submodules/Speak:Speak",
        "//submodules/UndoUI:UndoUI",
        "//submodules/InvisibleInkDustNode:InvisibleInkDustNode",
        "//submodules/TranslateUI:TranslateUI",
        "//submodules/ShimmerEffect:ShimmerEffect",
        "//submodules/Utils/RangeSet:RangeSet",
        "//submodules/TelegramUI/Components/TextNodeWithEntities:TextNodeWithEntities",
        "//submodules/TelegramUI/Components/AnimationCache:AnimationCache",
        "//submodules/TelegramUI/Components/MultiAnimationRenderer:MultiAnimationRenderer",
        "//submodules/TelegramUI/Components/SliderContextItem",
        "//submodules/TelegramUI/Components/SectionTitleContextItem",
        "//submodules/TooltipUI",
        "//submodules/TelegramNotices",
        "//submodules/Pasteboard",
        "//submodules/AdUI",
        "//submodules/TelegramUI/Components/Ads/AdsInfoScreen",
        "//submodules/TelegramUI/Components/Ads/AdsReportScreen",
        "//submodules/UrlHandling",
        "//submodules/TelegramUI/Components/SaveProgressScreen",
        "//submodules/TelegramUI/Components/RasterizedCompositionComponent",
        "//submodules/TelegramUI/Components/BadgeComponent",
        "//submodules/TelegramUI/Components/AnimatedTextComponent",
        "//submodules/TelegramUI/Components/LottieComponent",
        "//submodules/Components/MultilineTextComponent",
        "//submodules/Components/MultilineTextWithEntitiesComponent",
        "//submodules/Components/BundleIconComponent",
        "//submodules/Components/BalancedTextComponent",
        "//submodules/Components/ComponentDisplayAdapters",
        "//submodules/ComponentFlow",
        "//submodules/TelegramUI/Components/ToastComponent",
        "//submodules/SemanticStatusNode",
        "//submodules/TelegramUI/Components/PlainButtonComponent",
        "//submodules/AvatarNode",
        "//submodules/PhotoResources",
    ],
    visibility = [
        "//visibility:public",
    ],
)
